const home = [
  {
    //注意：path必须跟pages.json中的地址对应，最前面别忘了加'/'哦
    path: "/pages/index/index",
    aliasPath: "/", //对于h5端你必须在首页加上aliasPath并设置为/
    name: "index",
    meta: {
      title: "首页",
    },
  },
  {
    path: "/pages/test/index",
    name: "list",
    meta: {
      title: "列表",
    },
    beforeEnter: (to, from, next) => {
      console.log("in======>>>");
      next();
    },
  },
  {
    path: "/subtestpackages/testmodel/index",
    name: "list",
    meta: {
      title: "列表",
    },
    beforeEnter: (to, from, next) => {
      console.log("in======>>>");
      next();
    },
  },
  {
    path: "/pages/login/index",
    beforeEnter: (to, from, next) => {
      console.log("insssss");
      next();
    },
  },
  {
    path: "/pages/approval/home/index",
  },
  {
    path: "/pages/approval/goods/index",
  },
  {
    path: "/pages/approval/order/index",
  },
  {
    path: "/pages/approval/setting/index",
  },
];
export default home;
